package com.csxy.lxl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.csxy.lxl.entity.EduSubject;
import com.csxy.lxl.entity.vo.OneSubject;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface EduSubjectService extends IService<EduSubject> {

    //获取所有分类，用来显示
    List<OneSubject> getAllOneTwoSubject();

    //读取Excel文件内容，并保存到数据库，EduSubjectService需要手动传入
    //保证

    void saveSubject(MultipartFile file, EduSubjectService eduSubjectService);
}
